export default {
    mounted(el, binding) {
        let img = new URL('../assets/error.png', import.meta.url).href
        el.onerror = () => {
            el.src = img
        }
        if (!el.src) {
            el.src = img
            return
        }
    }
}